#include "LinkStack.hpp"


int main()
{
    LinkStack<int> s;
    for(int i = 0; i < 10; i++)
    {
        s.Push(i+1);
    }
    while(s.Empty() != true)
    {
        std::cout<<s.GetTop()<<" ";
        s.Pop();
    }
    std::cout<<std::endl;
    return 0;
}